61. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-11-23 04:31:24 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

61.1 Files compared

#LocationFileLast Modified
1/Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme 4.0.6/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cartminicart.phtml2023-07-11 01:16:20 +0000
2/Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme 4.0.7/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cartminicart.phtml2023-07-11 01:16:20 +0000

61.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged1150
Changed00
Inserted00
Removed00

61.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

61.4 Active regular expressions

No regular expressions were active.

61.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © 2015 Magento. All rights reserved. 3  * Copyright © 2015 Magento. All rights reserved.
4  * See COPYING.txt for license details. 4  * See COPYING.txt for license details.
5  */ 5  */
6  6 
7 // @codingStandardsIgnoreFile 7 // @codingStandardsIgnoreFile
8  8 
9 /** @var $block \Magento\Checkout\Block\Cart\Sidebar */ 9 /** @var $block \Magento\Checkout\Block\Cart\Sidebar */
10 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data'); 10 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data');
11 $cart_design = $_portohelper->getConfig('porto_design/header/header_minicart_design')?$_portohelper->getConfig('porto_design/header/header_minicart_design'):'1'; 11 $cart_design = $_portohelper->getConfig('porto_design/header/header_minicart_design')?$_portohelper->getConfig('porto_design/header/header_minicart_design'):'1';
12 $popup_design = $_portohelper->getConfig('porto_design/header/header_minicart_popup_design')?$_portohelper->getConfig('porto_design/header/header_minicart_popup_design'):'1'; 12 $popup_design = $_portohelper->getConfig('porto_design/header/header_minicart_popup_design')?$_portohelper->getConfig('porto_design/header/header_minicart_popup_design'):'1';
13 ?> 13 ?>
14  14 
15 <div data-block="minicart" class="minicart-wrapper cart-design-<?php echo $cart_design ? $cart_design: '1'?><?php if($popup_design == '2'):?> minicart-offcanvas<?php endif;?>"> 15 <div data-block="minicart" class="minicart-wrapper cart-design-<?php echo $cart_design ? $cart_design: '1'?><?php if($popup_design == '2'):?> minicart-offcanvas<?php endif;?>">
16     <a class="action showcart" href="<?php echo $block->getShoppingCartUrl(); ?>" 16     <a class="action showcart" href="<?php echo $block->getShoppingCartUrl(); ?>"
17        data-bind="scope: 'minicart_content'"> 17        data-bind="scope: 'minicart_content'">
18        <i class="minicart-icon porto-icon-shopping-cart"></i> 18        <i class="minicart-icon porto-icon-shopping-cart"></i>
19         <span class="text"><?php echo __('Cart'); ?></span> 19         <span class="text"><?php echo __('Cart'); ?></span>
20         <span class="counter qty empty" 20         <span class="counter qty empty"
21               data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading"> 21               data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading">
22             <span class="counter-number"> 22             <span class="counter-number">
23             <!-- ko if: getCartParam('summary_count') --><!-- ko text: getCartParam('summary_count') --><!-- /ko --><!-- /ko --> 23             <!-- ko if: getCartParam('summary_count') --><!-- ko text: getCartParam('summary_count') --><!-- /ko --><!-- /ko -->
24             <!-- ko ifnot: getCartParam('summary_count') -->0<!-- /ko --> 24             <!-- ko ifnot: getCartParam('summary_count') -->0<!-- /ko -->
25             </span> 25             </span>
26             <span class="counter-label"> 26             <span class="counter-label">
27                 <!-- ko i18n: 'items' --><!-- /ko --> 27                 <!-- ko i18n: 'items' --><!-- /ko -->
28             </span> 28             </span>
29         </span> 29         </span>
30     </a> 30     </a>
31     <a class="showcart action-subtotal d-none" href="<?php echo $block->getShoppingCartUrl(); ?>" 31     <a class="showcart action-subtotal d-none" href="<?php echo $block->getShoppingCartUrl(); ?>"
32        data-bind="scope: 'minicart_content'"> 32        data-bind="scope: 'minicart_content'">
33         <span class="cart-subtotal"> 33         <span class="cart-subtotal">
34           <?php echo __('Shopping Cart'); ?> 34           <?php echo __('Shopping Cart'); ?>
35           <span class="cart-price"> 35           <span class="cart-price">
36             <span class="amount" data-bind="html: getCartParam('subtotal')"> 36             <span class="amount" data-bind="html: getCartParam('subtotal')">
37               <!-- ko if: !getCartParam('subtotal') --> 37               <!-- ko if: !getCartParam('subtotal') -->
38                   <!-- ko i18n: '€ 0.00' --><!-- /ko --> 38                   <!-- ko i18n: '€ 0.00' --><!-- /ko -->
39               <!-- /ko --> 39               <!-- /ko -->
40             </span> 40             </span>
41           </span> 41           </span>
42         </span> 42         </span>
43     </a> 43     </a>
44     <?php if ($block->getIsNeedToDisplaySideBar()): ?> 44     <?php if ($block->getIsNeedToDisplaySideBar()): ?>
45         <div class="block block-minicart empty" 45         <div class="block block-minicart empty"
46              data-role="dropdownDialog" 46              data-role="dropdownDialog"
47              data-mage-init='{"dropdownDialog":{ 47              data-mage-init='{"dropdownDialog":{
48                 "appendTo":"[data-block=minicart]", 48                 "appendTo":"[data-block=minicart]",
49                 "triggerTarget":".showcart", 49                 "triggerTarget":".showcart",
50                 "timeout": "2000", 50                 "timeout": "2000",
51                 "closeOnMouseLeave": false, 51                 "closeOnMouseLeave": false,
52                 "closeOnEscape": true, 52                 "closeOnEscape": true,
53                 "triggerClass":"active", 53                 "triggerClass":"active",
54                 "parentClass":"active", 54                 "parentClass":"active",
55                 "buttons":[]}}'> 55                 "buttons":[]}}'>
56             <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'"> 56             <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'">
57                 <!-- ko template: getTemplate() --><!-- /ko --> 57                 <!-- ko template: getTemplate() --><!-- /ko -->
58             </div> 58             </div>
59         </div> 59         </div>
60     <?php endif ?> 60     <?php endif ?>
61     <?= /* @noEscape */ $secureRenderer->renderTag('script', [], 'window.checkout = ' . /* @noEscape */ $block->getSerializedConfig(), false); ?> 61     <?= /* @noEscape */ $secureRenderer->renderTag('script', [], 'window.checkout = ' . /* @noEscape */ $block->getSerializedConfig(), false); ?>
62     <script type="text/x-magento-init"> 62     <script type="text/x-magento-init">
63     { 63     {
64         "[data-block='minicart']": { 64         "[data-block='minicart']": {
65             "Magento_Ui/js/core/app": <?php echo $block->getJsLayout();?><?php if($popup_design == '2'):?>, "Magento_Checkout/js/catalog-add-to-cart-mixin": {}<?php endif;?> 65             "Magento_Ui/js/core/app": <?php echo $block->getJsLayout();?><?php if($popup_design == '2'):?>, "Magento_Checkout/js/catalog-add-to-cart-mixin": {}<?php endif;?>
66         }, 66         },
67         "*": { 67         "*": {
68             "Magento_Ui/js/block-loader": "<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>" 68             "Magento_Ui/js/block-loader": "<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>"
69         } 69         }
70     } 70     }
71     </script> 71     </script>
72     <?php if($popup_design == '2'):?> 72     <?php if($popup_design == '2'):?>
73     <div class="minicart-overlay"><svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><defs><style>.minicart-svg{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><g id="cross"><line class="minicart-svg" x1="7" x2="25" y1="7" y2="25"></line><line class="minicart-svg" x1="7" x2="25" y1="25" y2="7"></line></g></svg></div> 73     <div class="minicart-overlay"><svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><defs><style>.minicart-svg{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><g id="cross"><line class="minicart-svg" x1="7" x2="25" y1="7" y2="25"></line><line class="minicart-svg" x1="7" x2="25" y1="25" y2="7"></line></g></svg></div>
74   <?php endif;?> 74   <?php endif;?>
75 </div> 75 </div>